package com.glsc.ngateway.amdoc.handler;


/**
 * @Title: BasicException
 * @Description: 自定义异常，继承RuntimeException
 * @author: 张宁
 * @version: 1.0.0
 * @date: 2020/12/21 16:29
 */
public class BasicException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private int code;

    public BasicException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
